package com.canyou.archives.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel(value = "ArchivesPageDTO", description = "设备分页查询条件用于逻辑层")

public class ArchivesPageDTO implements Serializable {
    @ApiModelProperty(value = "设备编号")
    private String number;

    @ApiModelProperty(value = "设备名称")
    private String aname;

    @ApiModelProperty(value = "设备分类id")
    private Long categoryId;

    @ApiModelProperty(value = "使用状态：0未启用，1使用中，2空闲，3维修中，4报废")
    private Integer state;

    @ApiModelProperty(value = "财务状态：0未入账，1已入账")
    private Boolean financialRegistration;

    @ApiModelProperty(value = "使用人员")
    private Long personnel;

    @ApiModelProperty(value = "拥有组织")
    private Long organization;

    @ApiModelProperty(value = "拥有部门")
    private Long department;

}
